package com.boang.jdbc;

/*
  @author: 13813
  @date: 2024/12/9 15:59
*/
public class Student {
    private int id;
    private String name;
    private int claId;

    public Student() {
    }

    public Student(String name, int claId) {
        this.name = name;
        this.claId = claId;
    }

    public Student(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public Student(int id, String name, int claId) {
        this.id = id;
        this.name = name;
        this.claId = claId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getClaId() {
        return claId;
    }

    public void setClaId(int claId) {
        this.claId = claId;
    }
}
